Auto merge of #3050 - nbaksalyar:configure-fix, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 28 Aug 2016 19:02:39 +0000 (12:02 -0700)
committerGitHub <noreply@github.com>
Sun, 28 Aug 2016 19:02:39 +0000 (12:02 -0700)
Fix POSIX shell in configure script (support Illumos & Solaris)

This patch provides the same fix that is applied for the `configure` script in rustc:
https://github.com/rust-lang/rust/blob/master/configure#L3-L9. It is required because `#!/bin/sh` is not Bash/POSIX-compatible on Solaris and its derivatives by default.

This change was previously discussed there: https://github.com/rust-lang/rust/pull/28589.


Trivial merge